package org.ehe.erp.service.purchase;

import com.baomidou.mybatisplus.extension.service.IService;
import org.ehe.common.oss.entity.UploadResult;
import org.ehe.erp.domain.purchase.ErpPurchaseOrderAttachment;
import org.ehe.erp.domain.purchase.vo.ErpPurchaseOrderAttachmentVo;
import org.ehe.erp.domain.quality.vo.ErpQualityAttachmentVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author :zhangnn
 * @className :IErpPurchaseOrderAttachmentService
 * @description: TODO
 * @date 2025-09-23 09:38:00
 */
public interface IErpPurchaseOrderAttachmentService extends IService<ErpPurchaseOrderAttachment> {
    UploadResult upload(MultipartFile file);

    List<ErpPurchaseOrderAttachmentVo> listById(Long orderId);

    int deleteWithValidByIds(List<Long> ids);
}
